
kernel_library()

kernel_library_sources(
  base.c property.c
)

kernel_library_sources_ifdef(
  CONFIG_OF_FLATTREE
  fdt.c
)

kernel_library_sources_ifdef(CONFIG_OF_EARLY_FLATTREE fdt_address.c)

kernel_library_sources_ifdef(
  CONFIG_OF_RESERVED_MEM
  of_reserved_mem.c
)

kernel_library_sources_ifdef(
  CONFIG_OF_ADDRESS
  address.c
)

kernel_library_sources_ifdef(
  CONFIG_OF_IRQ
  irq.c
)
